﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Admin/Admin.Master" AutoEventWireup="true" CodeBehind="Contact.aspx.cs" Inherits="www.Admin.Contact" %>

<%@ Register Assembly="FredCK.FCKeditorV2" Namespace="FredCK.FCKeditorV2" TagPrefix="FCKeditorV2" %>

<%@ Import Namespace="www.Controllers" %>
<%@ Register TagPrefix="cc1" Namespace="AjaxControlToolkit" Assembly="AjaxControlToolkit, Version=1.0.10920.32919, Culture=neutral, PublicKeyToken=28f01b0e84b6d53e" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc2" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <script src="../fckeditor/fckeditor.js"></script>
    <script type="text/javascript">

        function CheckAllEmp(checkbox) {
            var gridVwHeaderChckbox = document.getElementById("<%=grid_contact.ClientID %>");
            for (i = 1; i < gridVwHeaderChckbox.rows.length; i++) {
                gridVwHeaderChckbox.rows[i].cells[0].getElementsByTagName("INPUT")[0].checked = checkbox.checked;
            }
        }
        function CheckAllEmp1(checkbox) {
            var gridVwHeaderChckbox = document.getElementById("<%=grid_info.ClientID %>");
            for (i = 1; i < gridVwHeaderChckbox.rows.length; i++) {
                gridVwHeaderChckbox.rows[i].cells[0].getElementsByTagName("INPUT")[0].checked = checkbox.checked;
            }
        }
    </script>

</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager>
    <div class="title">
        QUẢN LÝ LIÊN LẠC 
    </div>
    <div class="clear">
    </div>

    <asp:UpdatePanel ID="UpdatePanel2" runat="server">
        <ContentTemplate>
            <cc1:TabContainer ID="TabContainer1" runat="server" CssClass="NewsTab" ActiveTabIndex="0" Width="100%">
                <cc1:TabPanel ID="TabPanel1" runat="server" HeaderText="Quản Lý Liên Lạc">
                    <ContentTemplate>
                        <asp:UpdatePanel ID="UpdatePanel1" runat="server">
                            <ContentTemplate>
                                <div id="pnview" runat="server">
                                    <div class="clear"></div>
                                    <div class="frame">
                                        <div class="table">
                                            <img src="../Design/Icon/icon/delete.png" class="control" />
                                            <asp:LinkButton ID="lbtdel1" runat="server" OnClick="lbtdel_Click">Xóa</asp:LinkButton>
                                            <img src="../Design/Icon/icon/refresh.png" class="control" />
                                            <asp:LinkButton ID="lbtrefresh1" runat="server" OnClick="lbtrefresh_Click">Làm Mới</asp:LinkButton>
                                            <img src="../Design/Icon/icon/uplevel.png" class="control" />
                                            <a href="javascript:void(0);" onclick="window.history.go(-1);">Trở Lại</a>
                                        </div>
                                        <div>
                                            <asp:GridView ID="grid_contact" runat="server" AutoGenerateColumns="False" BackColor="White"
                                                BorderColor="#3366CC" BorderStyle="None" BorderWidth="1px" Width="100%" AllowPaging="True"
                                                PageSize="20" ShowHeaderWhenEmpty="True" OnRowCommand="grid_contact_RowCommand">
                                                <Columns>
                                                    <asp:TemplateField>
                                                        <HeaderTemplate>
                                                            <input id="chkselectall" type="checkbox" runat="server" onclick="CheckAllEmp(this);" />
                                                        </HeaderTemplate>
                                                        <ItemTemplate>
                                                            <asp:CheckBox ID="chkselect" runat="server" />
                                                        </ItemTemplate>
                                                    </asp:TemplateField>
                                                    <asp:TemplateField Visible="false">
                                                        <ItemTemplate>
                                                            <asp:Label ID="lblid" runat="server" Text='<%#Eval("Id") %>'></asp:Label>
                                                        </ItemTemplate>
                                                    </asp:TemplateField>
                                                    <asp:BoundField DataField="Name" HeaderText="Họ Tên" />
                                                    <asp:BoundField DataField="Company" HeaderText="Công Ty" />
                                                    <asp:BoundField DataField="Address" HeaderText="Địa Chỉ" />
                                                    <asp:TemplateField HeaderText="Ngày LH">
                                                        <ItemTemplate>
                                                            <%#Convert.ToDateTime(Eval("Date")).ToShortDateString() %>
                                                        </ItemTemplate>
                                                    </asp:TemplateField>
                                                    <asp:TemplateField HeaderText="Trạng thái">
                                                        <ItemTemplate>
                                                            <%#Utilities.Active(Convert.ToInt32(Eval("Active"))) %>
                                                        </ItemTemplate>
                                                    </asp:TemplateField>
                                                    <asp:TemplateField HeaderText="Trả Lời">
                                                        <ItemTemplate>
                                                            <%#Utilities.Isanswer(Convert.ToInt32(Eval("IsAnswer"))) %>
                                                        </ItemTemplate>
                                                    </asp:TemplateField>
                                                    <asp:TemplateField>
                                                        <HeaderTemplate>
                                                            Chức Năng
                                                        </HeaderTemplate>
                                                        <ItemTemplate>
                                                            <asp:ImageButton ID="ibtanswer" runat="server" CommandName="cmd_answer" CommandArgument='<%#Eval("Id") %>'
                                                                ToolTip="Trả Lời" CssClass="business" ImageUrl="../Design/Icon/icon/icon_ask.jpg" /><asp:ImageButton
                                                                    ID="ibtdel" runat="server" CommandName="cmd_delete" CommandArgument='<%#Eval("Id") %>'
                                                                    ToolTip="Xóa" CssClass="business" ImageUrl="../Design/Icon/icon/delete.png" /><asp:ImageButton
                                                                        ID="ibtactive" runat="server" CommandName="cmd_active" CommandArgument='<%#Eval("Id") %>'
                                                                        ToolTip='<%#Utilities.TooltipActive(Convert.ToInt32(Eval("Active"))) %>' CssClass="business" ImageUrl="../Design/Icon/icon/stop1.png" /><asp:LinkButton
                                                                            ID="lbldetail" runat="server" CommandName="cmd_detail" CommandArgument='<%#Eval("Id") %>'
                                                                            ToolTip="Chi Tiết">Chi Tiết</asp:LinkButton>
                                                        </ItemTemplate>
                                                        <HeaderStyle HorizontalAlign="Center" Width="20%"></HeaderStyle>
                                                    </asp:TemplateField>
                                                </Columns>
                                                <FooterStyle BackColor="#99CCCC" ForeColor="#003399" />
                                                <HeaderStyle BackColor="#003399" Font-Bold="True" ForeColor="#CCCCFF" />
                                                <PagerStyle BackColor="#99CCCC" ForeColor="#003399" HorizontalAlign="Left" />
                                                <RowStyle BackColor="White" ForeColor="#003399" />
                                                <SelectedRowStyle BackColor="#009999" Font-Bold="True" ForeColor="#CCFF99" />
                                                <SortedAscendingCellStyle BackColor="#EDF6F6" />
                                                <SortedAscendingHeaderStyle BackColor="#0D4AC4" />
                                                <SortedDescendingCellStyle BackColor="#D6DFDF" />
                                                <SortedDescendingHeaderStyle BackColor="#002876" />
                                            </asp:GridView>
                                        </div>
                                        <div class="table">
                                            <img src="../Design/Icon/icon/delete.png" class="control" />
                                            <asp:LinkButton ID="lbtdel2" runat="server" OnClick="lbtdel_Click">Xóa</asp:LinkButton>
                                            <img src="../Design/Icon/icon/refresh.png" class="control" />
                                            <asp:LinkButton ID="lbtrefress2" runat="server" OnClick="lbtrefresh_Click">Làm Mới</asp:LinkButton>
                                            <img src="../Design/Icon/icon/uplevel.png" class="control" />
                                            <a href="javascript:void(0);" onclick="window.history.go(-1);">Trở Lại</a>
                                        </div>
                                    </div>
                                </div>
                                <div id="pndetail" runat="server" visible="false">
                                    <div class="table">
                                        <img src="../Design/Icon/icon/back.png" class="control" />
                                        <asp:LinkButton ID="lbtback1" runat="server" OnClick="lbtback_Click">Trở Về</asp:LinkButton>
                                    </div>
                                    <div class="frame">
                                        <asp:FormView ID="frvcontact" runat="server" BackColor="White" BorderColor="#3366CC"
                                            BorderStyle="None" BorderWidth="0px" CellPadding="4" GridLines="Both" Width="100%">
                                            <ItemTemplate>
                                                <div class=" frame">
                                                    <div class="rows">
                                                        <div class="ColLeft">
                                                            Họ Tên:
                                                        </div>
                                                        <div class="ColRight">
                                                            <%#Eval("Name") %>
                                                        </div>
                                                    </div>
                                                    <div class="rows">
                                                        <div class="ColLeft">
                                                            Công Ty:
                                                        </div>
                                                        <div class="ColRight">
                                                            <%#Eval("Company") %>
                                                        </div>
                                                    </div>
                                                    <div class="rows">
                                                        <div class="ColLeft">
                                                            Địa Chỉ:
                                                        </div>
                                                        <div class="ColRight">
                                                            <%#Eval("Address") %>
                                                        </div>
                                                    </div>
                                                    <div class="rows">
                                                        <div class="ColLeft">
                                                            Số Điện Thoại:
                                                        </div>
                                                        <div class="ColRight">
                                                            <%#Eval("Tel") %>
                                                        </div>
                                                    </div>
                                                    <div class="rows">
                                                        <div class="ColLeft">
                                                            Mail:
                                                        </div>
                                                        <div class="ColRight">
                                                            <%#Eval("Email") %>
                                                        </div>
                                                    </div>
                                                    <div class="rows">
                                                        <div class="ColLeft">
                                                            Ngày Liên Lạc:
                                                        </div>
                                                        <div class="ColRight">
                                                            <%#Convert.ToDateTime(Eval("Date")).ToShortDateString() %>
                                                        </div>
                                                    </div>
                                                    <div class="rows">
                                                        <div class="ColLeft">
                                                            Tiêu Đề:
                                                        </div>
                                                        <div class="ColRight">
                                                            <%#Eval("Title") %>
                                                        </div>
                                                    </div>
                                                    <div class="content">
                                                        <div class="ColLeft">
                                                            Chi Tiết:
                                                        </div>
                                                        <div class="ColRight">
                                                            <%#HttpUtility.HtmlDecode(Eval("Detail").ToString()) %>
                                                        </div>
                                                    </div>
                                                    <div class="rows">
                                                        <div class="ColLeft">
                                                            Trạng Thái:
                                                        </div>
                                                        <div class="ColRight">
                                                            <%#Utilities.Active(Convert.ToInt32(Eval("Active"))) %>
                                                        </div>
                                                    </div>
                                                    <div class="rows">
                                                        <div class="ColLeft">
                                                            Trả Lời:
                                                        </div>
                                                        <div class="ColRight">
                                                            <%#Eval("IsAnswer") %>
                                                        </div>
                                                    </div>
                                                </div>
                                            </ItemTemplate>
                                        </asp:FormView>
                                    </div>
                                    <div class="table">
                                        <img src="../Design/Icon/icon/back.png" class="control" />
                                        <asp:LinkButton ID="lbtback2" runat="server" OnClick="lbtback_Click">Trở Về</asp:LinkButton>
                                    </div>
                                </div>
                                <div id="pnfeedback" runat="server" visible="false">
                                    <div class="table">
                                        <img src="../Design/Icon/icon/icon_email.jpg" class="control" />
                                        <asp:LinkButton ID="lbtsend1" runat="server" OnClick="lbtsend_Click">Gửi</asp:LinkButton>
                                        <img src="../Design/Icon/icon/cross.png" class="control" />
                                        <asp:LinkButton ID="lbthuy1" runat="server" OnClick="lbthuy_Click">Hủy</asp:LinkButton>
                                        <img src="../Design/Icon/icon/cross.png" class="control" />
                                        <asp:LinkButton ID="lbtback3" runat="server" OnClick="lbtback_Click">Trở Về</asp:LinkButton>
                                    </div>
                                    <div class="frame">
                                        <div class="rows">
                                            <div class="ColLeft">
                                                Mail To:
                                            </div>
                                            <div class="ColRight">
                                                <input type="text" id="txtmailto" runat="server" class="textbox" readonly="readonly" />
                                            </div>
                                        </div>
                                        <div class="rows">
                                            <div class="ColLeft">
                                                Mail From:
                                            </div>
                                            <div class="ColRight">
                                                <input type="text" id="txtmailfrom" runat="server" class="textbox" />
                                            </div>
                                        </div>
                                        <div class="rows">
                                            <div class="ColLeft">
                                                Mật khẩu:
                                            </div>
                                            <div class="ColRight">
                                                <input type="password" id="txtpassword" runat="server" class="textbox" />
                                            </div>
                                        </div>
                                        <div class="rows">
                                            <div class="ColLeft">
                                                Tiêu Đề:
                                            </div>
                                            <div class="ColRight">
                                                <input type="text" id="txtname" runat="server" class="textbox" />
                                            </div>
                                        </div>
                                        <div class="content">
                                            <div class="ColLeft">
                                                Chi Tiết:
                                            </div>
                                            <div class="ColRight">
                                                <FCKeditorV2:FCKeditor ID="txtdetail1" runat="server" Width="99%" Height="350px"></FCKeditorV2:FCKeditor>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="table">
                                        <img src="../Design/Icon/icon/icon_email.jpg" class="control" />
                                        <asp:LinkButton ID="lbtsend2" runat="server" OnClick="lbtsend_Click">Gửi</asp:LinkButton>
                                        <img src="../Design/Icon/icon/cross.png" class="control" />
                                        <asp:LinkButton ID="lbthuy2" runat="server" OnClick="lbthuy_Click">Hủy</asp:LinkButton>
                                        <img src="../Design/Icon/icon/back.png" class="control" />
                                        <asp:LinkButton ID="lbtback4" runat="server" OnClick="lbtback_Click">Trở Về</asp:LinkButton>
                                    </div>
                                </div>
                                <div id="pnMessage" runat="server" visible="False" class="red">
                                    <span id="lblMessage" runat="server"></span>
                                </div>
                            </ContentTemplate>
                        </asp:UpdatePanel>
                    </ContentTemplate>
                </cc1:TabPanel>
                <cc1:TabPanel ID="TabPanel2" runat="server" HeaderText="Thông Tin Liên Lạc">
                    <ContentTemplate>
                        <div id="pnviewinfo" runat="server">
                            <div class="frame">
                                <div class="table">
                                    <img src="../Design/Icon/icon/add.png" class="control" />
                                    <asp:LinkButton ID="lbtinsertinfo1" runat="server" OnClick="lbtinsertinfo_Click">Thêm Mới</asp:LinkButton>
                                    <img src="../Design/Icon/icon/delete.png" class="control" />
                                    <asp:LinkButton ID="lbtdeleteinfo1" runat="server" OnClick="lbtdeleteinfo_Click">Xóa</asp:LinkButton>
                                    <img src="../Design/Icon/icon/refresh.png" class="control" />
                                    <asp:LinkButton ID="lbtrefressinfo1" runat="server" OnClick="lbtrefressinfo_Click">Làm Mới</asp:LinkButton>
                                    <img src="../Design/Icon/icon/uplevel.png" class="control" />
                                    <a href="javascript:void(0);" onclick="window.history.go(-1);">Trở Lại</a>
                                </div>
                                <div>
                                    <asp:GridView ID="grid_info" runat="server" AutoGenerateColumns="False" BackColor="White"
                                        BorderColor="#3366CC" BorderStyle="None" BorderWidth="1px" Width="99%" AllowPaging="True"
                                        PageSize="20" ShowHeaderWhenEmpty="True" OnRowCommand="grid_info_RowCommand">
                                        <Columns>
                                            <asp:TemplateField>
                                                <HeaderTemplate>
                                                    <input id="chkselectall" type="checkbox" runat="server" onclick="CheckAllEmp1(this);" />
                                                </HeaderTemplate>
                                                <ItemTemplate>
                                                    <asp:CheckBox ID="chkselect" runat="server" />
                                                </ItemTemplate>
                                                <ItemStyle HorizontalAlign="Center"></ItemStyle>
                                            </asp:TemplateField>
                                            <asp:TemplateField Visible="False">
                                                <ItemTemplate>
                                                    <asp:Label ID="lblid" runat="server" Text='<%#Eval("Id") %>'></asp:Label>
                                                </ItemTemplate>
                                            </asp:TemplateField>
                                            <asp:BoundField DataField="Title" HeaderText="Tiêu Đề" />
                                            <asp:BoundField DataField="Company" HeaderText="Công Ty" />

                                            <asp:TemplateField HeaderText="Ngày">
                                                <ItemTemplate>
                                                    <%#Convert.ToDateTime(Eval("Date")).ToShortDateString() %>
                                                </ItemTemplate>
                                            </asp:TemplateField>
                                            <asp:TemplateField HeaderText="Trạng Thái">
                                                <ItemTemplate>
                                                    <%#Utilities.Active(Convert.ToInt32(Eval("Active"))) %>
                                                </ItemTemplate>
                                            </asp:TemplateField>
                                            <asp:TemplateField HeaderText="Chức Năng">
                                                <ItemTemplate>
                                                    <asp:ImageButton ID="ibtedit" runat="server" ToolTip="Sửa" CssClass="business" CommandName="cmd_edit"
                                                        CommandArgument='<%#Eval("Id") %>' ImageUrl="../Design/Icon/icon/edit.png" />
                                                    <asp:ImageButton ID="ibtdel" runat="server" ToolTip="Xóa" CssClass="business" CommandName="cmd_delete"
                                                        CommandArgument='<%#Eval("Id") %>' ImageUrl="../Design/Icon/icon/delete.png" />
                                                    <asp:ImageButton ID="ibtactive" runat="server" ToolTip='<%#Utilities.TooltipActive(Convert.ToInt32(Eval("Active"))) %>'
                                                        CommandArgument='<%#Eval("Id") %>' CommandName="cmd_active" CssClass="business" ImageUrl="../Design/Icon/icon/stop1.png" />
                                                    <asp:LinkButton ID="lbldetail" runat="server" CommandName="cmd_detail" CommandArgument='<%#Eval("Id") %>'
                                                        ToolTip="Chi Tiết">Chi Tiết</asp:LinkButton>
                                                </ItemTemplate>
                                                <HeaderStyle HorizontalAlign="Center" Width="20%"></HeaderStyle>
                                            </asp:TemplateField>
                                        </Columns>
                                        <FooterStyle BackColor="#99CCCC" ForeColor="#003399" />
                                        <HeaderStyle BackColor="#003399" Font-Bold="True" ForeColor="#CCCCFF" />
                                        <PagerStyle BackColor="#99CCCC" ForeColor="#003399" HorizontalAlign="Left" />
                                        <RowStyle BackColor="White" ForeColor="#003399" />
                                        <SelectedRowStyle BackColor="#009999" Font-Bold="True" ForeColor="#CCFF99" />
                                        <SortedAscendingCellStyle BackColor="#EDF6F6" />
                                        <SortedAscendingHeaderStyle BackColor="#0D4AC4" />
                                        <SortedDescendingCellStyle BackColor="#D6DFDF" />
                                        <SortedDescendingHeaderStyle BackColor="#002876" />
                                    </asp:GridView>
                                </div>
                                <div class="table">
                                    <img src="../Design/Icon/icon/add.png" class="control" />
                                    <asp:LinkButton ID="lbtinsertinfo2" runat="server" OnClick="lbtinsertinfo_Click">Thêm Mới</asp:LinkButton>
                                    <img src="../Design/Icon/icon/delete.png" class="control" />
                                    <asp:LinkButton ID="lbtdeleteinfo2" runat="server" OnClick="lbtdeleteinfo_Click">Xóa</asp:LinkButton>
                                    <img src="../Design/Icon/icon/refresh.png" class="control" />
                                    <asp:LinkButton ID="lbtrefressinfo2" runat="server" OnClick="lbtrefressinfo_Click">Làm Mới</asp:LinkButton>
                                    <img src="../Design/Icon/icon/uplevel.png" class="control" />
                                    <a href="javascript:void(0);" onclick="window.history.go(-1);">Trở Lại</a>
                                </div>
                            </div>
                        </div>
                        <div id="pncontrolinfo" runat="server" visible="False">
                            <div class="table">
                                <img src="../Design/Icon/icon/page_save.png" class="control" />
                                <asp:LinkButton ID="lbtsaveinfo1" runat="server" OnClick="lbtsaveinfo_Click">Ghi Lại</asp:LinkButton>
                                <img src="../Design/Icon/icon/moi.gif" class="control" />
                                <asp:LinkButton ID="lbtdonewinfo1" runat="server" OnClick="lbtdonewinfo_Click">Làm Mới</asp:LinkButton>
                                <img src="../Design/Icon/icon/back.png" class="control" />
                                <asp:LinkButton ID="lbtbackinfo1" runat="server" OnClick="lbtbackinfo_Click">Trở Về</asp:LinkButton>
                            </div>
                            <div class="frame">
                                <div class="rows">
                                    <div class="ColLeft">
                                        Tiêu Đề:
                                    </div>
                                    <div class="ColRight">
                                        <input type="text" id="txttitleinfo" runat="server" class="textbox" />
                                    </div>
                                </div>
                                <div class="rows">
                                    <div class="ColLeft">
                                        Tên Công Ty:
                                    </div>
                                    <div class="ColRight">
                                        <input type="text" id="txtcompanyinfo" runat="server" class="textbox" />
                                    </div>
                                </div>
                                <div class="content">
                                    <div class="ColLeft">
                                        Chi Tiết Liên Hệ:
                                    </div>
                                    <div class="ColRight">
                                        <%-- <textarea id="txtdetailContact" runat="server" class="textarea2"></textarea>--%>
                                        <FCKeditorV2:FCKeditor ID="txtdetailContact" runat="server" Width="99%" Height="350px"></FCKeditorV2:FCKeditor>
                                    </div>
                                </div>
                                <div class="rows">
                                    <div class="ColLeft">
                                        Ngày:
                                    </div>
                                    <div class="ColRight">
                                        <asp:TextBox ID="txtdateinfo" runat="server" CssClass="datefield" ReadOnly="True"></asp:TextBox>
                                        <cc1:CalendarExtender ID="CalendarExtender1" PopupPosition="TopLeft" TargetControlID="txtdateinfo" Format="MM/dd/yyyy"
                                            runat="server" Enabled="True">
                                        </cc1:CalendarExtender>
                                    </div>
                                </div>
                                <div class="rows">
                                    <div class="ColLeft">
                                        Trạng Thái:
                                    </div>
                                    <div class="ColRight">
                                        <input type="checkbox" id="chkactiveinfo" runat="server" />
                                    </div>
                                </div>
                            </div>
                            <div class="table">
                                <img src="../Design/Icon/icon/page_save.png" class="control" />
                                <asp:LinkButton ID="lbtsaveinfo2" runat="server" OnClick="lbtsaveinfo_Click">Ghi Lại</asp:LinkButton>
                                <img src="../Design/Icon/icon/moi.gif" class="control" />
                                <asp:LinkButton ID="lbtdonewinfo2" runat="server" OnClick="lbtdonewinfo_Click">Làm Mới</asp:LinkButton>
                                <img src="../Design/Icon/icon/back.png" class="control" />
                                <asp:LinkButton ID="lbtbackinfo2" runat="server" OnClick="lbtbackinfo_Click">Trở Về</asp:LinkButton>
                            </div>
                        </div>
                        <div id="pndetaiinfo" runat="server" visible="False">
                            <div class="table">
                                <img src="../Design/Icon/icon/back.png" class="control" />
                                <asp:LinkButton ID="lbtbackinfo3" runat="server" OnClick="lbtbackinfo_Click">Trở Về</asp:LinkButton>
                            </div>
                            <div class="frame">
                                <asp:FormView ID="frv_detailinfo" runat="server" BackColor="White" BorderColor="#3366CC"
                                    BorderStyle="None" BorderWidth="0px" CellPadding="4" GridLines="Both" Width="99%">
                                    <ItemTemplate>
                                        <div class=" frame">
                                            <div class="rows">
                                                <div class="ColLeft">
                                                    Tiêu Đề:
                                                </div>
                                                <div class="ColRight">
                                                    <%#Eval("Title") %>
                                                </div>
                                            </div>
                                            <div class="rows">
                                                <div class="ColLeft">
                                                    Công Ty:
                                                </div>
                                                <div class="ColRight">
                                                    <%#Eval("Company") %>
                                                </div>
                                            </div>
                                            <div class="rows">
                                                <div class="ColLeft">
                                                    Ngày:
                                                </div>
                                                <div class="ColRight">
                                                    <%#Convert.ToDateTime(Eval("Date")).ToShortDateString() %>
                                                </div>
                                            </div>
                                            <div class="content">
                                                <div class="ColLeft">
                                                    Chi Tiết:
                                                </div>
                                                <div class="ColRight">
                                                    <%#HttpUtility.HtmlDecode(Eval("Detail").ToString()) %>
                                                </div>
                                            </div>
                                            <div class="rows">
                                                <div class="ColLeft">
                                                    Trạng Thái:
                                                </div>
                                                <div class="ColRight">
                                                    <%#Utilities.Active(Convert.ToInt32(Eval("Active"))) %>
                                                </div>
                                            </div>
                                        </div>
                                    </ItemTemplate>
                                </asp:FormView>
                            </div>
                            <div class="table">
                                <img src="../Design/Icon/icon/back.png" class="control" />
                                <asp:LinkButton ID="lbtbackinfo4" runat="server" OnClick="lbtbackinfo_Click">Trở Về</asp:LinkButton>
                            </div>
                        </div>
                        <div id="pnMesageInfo" runat="server" visible="False" class="red">
                            <span id="lblMessageInfo" runat="server"></span>
                        </div>
                    </ContentTemplate>
                </cc1:TabPanel>
            </cc1:TabContainer>
        </ContentTemplate>
    </asp:UpdatePanel>
</asp:Content>
